package view;

import oracle.adf.model.BindingContext;

import oracle.binding.BindingContainer;

import oracle.binding.OperationBinding;

import org.apache.myfaces.trinidad.event.PollEvent;

public class OperationsPollMB {
    public OperationsPollMB() {
    }

    public void kucanjeSrca(PollEvent pollEvent) {
        // Add event code here...
        System.out.println("Refresh...");
        BindingContainer bc = BindingContext.getCurrent().getCurrentBindingsEntry();
        OperationBinding operacija=bc.getOperationBinding("Execute");
        operacija.execute();
    }
}
